home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 April / Gamestar_61_2004-04_dvdb.iso / DVDStar / Editace / hltp.exe / {app} / Source Code / MAP Viewer / stdafx.h < prev    next >
C/C++ Source or Header  |  2003-10-09  |  1KB  |  53 lines

  1. /*
  2. Half-Life MAP viewing utility.
  3. Copyright (C) 2003  Ryan Samuel Gregg
  4.  
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9.  
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  18. */
  19.  
  20. #using <mscorlib.dll>
  21. #using <System.dll>
  22. #using <System.Drawing.dll>
  23. #using <System.Windows.Forms.dll>
  24.  
  25. using namespace System;
  26. using namespace System::Collections;
  27. using namespace System::Drawing;
  28. using namespace System::Windows::Forms;
  29.  
  30. #define EPSILON 0.01
  31. #define WORLD 8192.0
  32.  
  33. #define WIN32_LEAN_AND_MEAN
  34. #include "windows.h"
  35. #include "gl\GL.h"
  36. #include "gl\GLU.h"
  37.  
  38. #define GL_TEXTURE_MAX_ANISOTROPY_EXT        0x84FE
  39. #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT    0x84FF
  40.  
  41. #include "Config.h"
  42. #include "RichTextBox.h"
  43. #include "Types.h"
  44.  
  45. // Remove conflicting definitions.
  46.  
  47. #ifdef MessageBox
  48. #undef MessageBox
  49. #endif
  50.  
  51. #ifdef GetObject
  52. #undef GetObject
  53. #endif